| Total Complexity | 319 |
| Dependencies | 5 |
| Dependents | 13 |
| Total lines | 1,663 |
| Lines of code | 934 |
| Logical lines of code | 487 |
| Comment lines | 509 |
| Methods | 105 |
| Properties | 4 |
| Method | Rating | Maintainability | Complexity | Lines of code |
|---|---|---|---|---|
| getAllAvailableAttributeDetails() | 50 | 12 | 26 | |
| getBillingEmailFromPost() | 54 | 9 | 21 | |
| removeSpecificNoticeFromSession() | 55 | 8 | 20 | |
| getCart() | 58 | 7 | 16 | |
| addCartFee() | 55 | 6 | 20 | |
| getCartSubtotal() | 59 | 6 | 14 | |
| getOrderItemsQty() | 54 | 5 | 22 | |
| getProductsBySku() | 58 | 5 | 17 | |
| getProductIdFromCartItem() | 61 | 5 | 12 | |
| isProductInSale() | 61 | 5 | 12 | |
| getCartLineItemSubtotal() | 61 | 5 | 11 | |
| calculateCartTotals() | 65 | 5 | 9 | |
| get_shipping_packages() | 64 | 5 | 10 | |
| add_to_cart() | 63 | 5 | 10 | |
| set_quantity() | 63 | 5 | 10 | |
| remove_cart_item() | 63 | 5 | 10 | |
| remove_coupon() | 63 | 5 | 10 | |
| getAppliedCoupons() | 64 | 5 | 10 | |
| getProductId() | 61 | 4 | 13 | |
| getCustomProductTaxonomies() | 58 | 3 | 16 | |
| getOrdersByConditions() | 58 | 3 | 16 | |
| getProductFromCartItem() | 63 | 4 | 10 | |
| getCountriesList() | 67 | 4 | 8 | |
| getStatesList() | 67 | 4 | 8 | |
| getShippingCountry() | 67 | 4 | 8 | |
| getShippingState() | 67 | 4 | 8 | |
| getShippingCity() | 67 | 4 | 8 | |
| getBillingCity() | 67 | 4 | 8 | |
| getShippingZipCode() | 67 | 4 | 8 | |
| getItemId() | 64 | 4 | 10 | |
| validateDynamicCoupon() | 59 | 3 | 14 | |
| getProductCategories() | 61 | 3 | 12 | |
| getCheckOutPostData() | 61 | 3 | 12 | |
| checkCouponAlreadyExistsInWooCommerce() | 62 | 3 | 11 | |
| getOrder() | 67 | 3 | 9 | |
| getProduct() | 64 | 3 | 9 | |
| getProductSalePrice() | 64 | 3 | 10 | |
| getProductParentId() | 64 | 3 | 10 | |
| getIncludingTaxPrice() | 63 | 3 | 10 | |
| getExcludingTaxPrice() | 63 | 3 | 10 | |
| getPaymentMethodList() | 68 | 3 | 8 | |
| getWeight() | 67 | 3 | 8 | |
| getSession() | 67 | 3 | 8 | |
| setSession() | 69 | 3 | 7 | |
| getRole() | 70 | 3 | 6 | |
| getOrderPostType() | 67 | 3 | 9 | |
| getOrderItemsId() | 64 | 3 | 10 | |
| getCategorySlugByID() | 67 | 3 | 7 | |
| getCartTotalQuantities() | 63 | 3 | 10 | |
| isRTLEnable() | 71 | 3 | 6 | |
| availableProductVariations() | 66 | 3 | 8 | |
| getBannerPositionList() | 50 | 1 | 28 | |
| productTypeIs() | 71 | 2 | 6 | |
| orderHasShippingMethod() | 71 | 2 | 6 | |
| getOrderTotal() | 71 | 2 | 6 | |
| is_ajax() | 72 | 2 | 6 | |
| getProductRegularPrice() | 68 | 2 | 7 | |
| getProductPrice() | 68 | 2 | 7 | |
| getProductTags() | 71 | 2 | 6 | |
| getProductAttributes() | 71 | 2 | 6 | |
| getProductChildren() | 71 | 2 | 6 | |
| getProductSku() | 71 | 2 | 6 | |
| getProductPriceSuffix() | 70 | 2 | 6 | |
| getAttributeName() | 71 | 2 | 6 | |
| getAttributeOption() | 71 | 2 | 6 | |
| getAttributeVariation() | 71 | 2 | 6 | |
| formatSalePrice() | 70 | 2 | 6 | |
| formatPriceRange() | 66 | 2 | 8 | |
| formatPrice() | 71 | 2 | 6 | |
| get_currency_symbol() | 72 | 2 | 6 | |
| formatStringToUpper() | 69 | 2 | 7 | |
| formatStringToLower() | 69 | 2 | 7 | |
| round() | 68 | 2 | 7 | |
| wc_add_notice() | 72 | 2 | 5 | |
| getCartItems() | 68 | 2 | 7 | |
| isTaxEnabled() | 69 | 2 | 7 | |
| isEnteredPriceIncludeTax() | 69 | 2 | 7 | |
| getCouponCode() | 71 | 2 | 6 | |
| addCouponDiscount() | 71 | 2 | 6 | |
| hasCouponInCart() | 71 | 2 | 6 | |
| setCartProductPrice() | 71 | 2 | 6 | |
| printNotice() | 73 | 2 | 5 | |
| getUserRolesList() | 70 | 2 | 7 | |
| getWooPluginUrl() | 72 | 2 | 6 | |
| getOrderStatusList() | 72 | 2 | 6 | |
| getOrderItems() | 71 | 2 | 6 | |
| getOrderCurrency() | 71 | 2 | 6 | |
| setOrderItemMeta() | 70 | 2 | 6 | |
| getOrderItemMeta() | 71 | 2 | 6 | |
| getTagSlugByID() | 66 | 2 | 8 | |
| getTermSlugByID() | 66 | 2 | 8 | |
| getOnSaleProductsIds() | 69 | 2 | 7 | |
| productLoopStart() | 71 | 2 | 6 | |
| productLoopEnd() | 71 | 2 | 6 | |
| setLoopProperties() | 71 | 2 | 6 | |
| getPriceHtml() | 68 | 2 | 7 | |
| getParentProduct() | 68 | 2 | 7 | |
| removeHtmlTags() | 67 | 2 | 8 | |
| get_variation_regular_price() | 70 | 2 | 6 | |
| wc_format_decimal() | 70 | 2 | 6 | |
| getWeekDaysList() | 62 | 1 | 11 | |
| getConvertedFixedPrice() | 79 | 1 | 3 | |
| reCalculateCartTotal() | 72 | 1 | 5 | |
| getUserSelectedPaymentMethod() | 79 | 1 | 3 | |
| displayTableIfAnyOneVariantHasDiscount() | 79 | 1 | 3 |